﻿namespace Jim.K3Cloud;

/// <summary>
/// 表信息
/// </summary>
public class DbTableSchema
{
    /// <summary>表名</summary>
    public string TableName { get; set; }

    /// <summary>字段</summary>
    public List<DbTableColumn> Columns { get; set; }

    /// <summary>索引</summary>
    public List<DbTableIndex> Indexes { get; set; }

    /// <summary>主外键</summary>
    public List<DbTableKey> Keys { get; set; }

    /// <summary>触发器</summary>
    public List<DbTableTrigger> Triggers { get; set; }

    /// <summary>约束</summary>
    public List<DbTableConstraint> Constraints { get; set; }
}